/*
 * Copyright (c) 2009. Silenus Consultoria, S.L.
 */
package es.silenus.detecta.dao;

import es.silenus.detecta.model.SurveyAnswerHeaderImported;
import es.silenus.detecta.model.SurveyUnitAnswerImported;
import es.silenus.detecta.model.SurveyUnitAnswerImportedId;


/**
 * @author <a href="mailto:dgarcia@silenus-consultoria.es">Daniel Garc&iacute;a</a>
 * @since 01-abr-2009 11:36:41
 */
public interface SurveyUnitAnswerImportedDAO extends ReadWriteDAO<SurveyUnitAnswerImported, SurveyUnitAnswerImportedId> {
	/**
	 * Finds a survey unit answer by its id.
	 *
	 * @param header the header.
	 * @param questionOrder the question order.
	 *
	 * @return the survey unit answer.
	 */
	public SurveyUnitAnswerImported findById(final SurveyAnswerHeaderImported header, int questionOrder);

	/**
	 * Finds a survey unit answer by its id.
	 *
	 * @param header the header.
	 * @param questionOrder the question order.
	 *
	 * @return the survey unit answer.
	 */
	public SurveyUnitAnswerImported findById(long header, int questionOrder);
}
